sizegroup: Use _gtk_widget_compute_size_for_orientation()
authorBenjamin Otte <otte@redhat.com>
Sat, 3 Nov 2012 17:57:50 +0000 (18:57 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 4 Nov 2012 14:28:43 +0000 (15:28 +0100)
commitdd6931d1ba5d0b9700c65e6b357ba824843dfb71
treed0f3b73bb3c153db32ea2abd81bbd9bdb921a81d
parentc3148a81d23296aff5a1836aa7e68b8c6e411f45
sizegroup: Use _gtk_widget_compute_size_for_orientation()

With this function now available, we can do size computation in 2
ways:
(1) Compute size with size groups
(2) Compute size without size groups

And have (1) use (2) instead of setting flags on widgets. This patch
does exactly that.
gtk/gtksizegroup.c
gtk/gtkwidget.c
gtk/gtkwidgetprivate.h